import api from './api'
var htmlparser = require("htmlparser2");

export function getArticle(page = 0) {
    return api.getArticle()
        .then((response) => {
            return Promise.resolve(response.data)
        }).catch((err) => {
            return Promise.reject(err)
        })
}